package com.cloud.gate.v2.fallback;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;

/**
 * @author ace
 * @create 2018/3/7.
 */
@Service
@Slf4j
@RestController
@RequestMapping("/fallback")
public class UserServiceFallback {
	 @RequestMapping("")
	    public String fallback(){
	        return "error";
	    }
}
